package com.umgsai.thread.thread38;

public class ThreadB extends Thread {
	@Override
	public void run() {
		try {
			ThreadA a = new ThreadA();
			a.start();
			a.join();
			System.out.println("线程B在run end处打印");
		} catch (Exception e) {
			System.out.println("线程B在catch处打印");
			e.printStackTrace();
		}
	}
}
